import request from '@/axios'

export const getTableListApi = (params: any) => {
  return request.get({ url: '/Api/ApsMonthPlanMoResult/ListPage', params })
}
export const delTableListApi = (ids: string[] | number[]): Promise<IResponse> => {
  return request.post({ url: '/mock/example/delete', data: { ids } })
}
export const doApsMoServerApi = (): Promise<IResponse> => {
  return request.post({ url: '/Api/MonthPlanMo/init', data: {} })
}
export const getInfoTableListApi = (params: any) => {
  return request.get({ url: '/Api/ApsMonthPlanMoResult/InfoListPage', params })
}
export const getResultInfoApi = (params: any) => {
  return request.get({
    url: '/Api/ApsMonthPlanMoResult/ResultInfo',
    params
  })
}
